abs

 

The 'abs' function returns the absolute value of a specifed number.

 

double @abs(double d);

 

Parameters

double d : Value that you want to calculate.

 

Return Value

A double-precision floating-point number, d, such that 0 ¡Â d ¡Â MaxValue.

 

Example

i = @abs(-100);

Description : '100', absolute value of '-100', is stored in the variable named 'i'.

 

Relate items)

@abs()

@acos()

@asin()

@atan()

@atan2()

@cos()

@log()

@log10()

@MathRound()

@sin()

@sqrt()

@tan()